#ifndef SERVICE_VIEW_IMPL_H
#define SERVICE_VIEW_IMPL_H
#include "employee.h"
#include "department.h"
#include "service_view.h"
#include "service_ctrl_impl.h"
class ServiceViewImpl:public ServiceView
{
	ServiceCtrl* srcCtrl;
	public:
	ServiceViewImpl()
	{
		srcCtrl = new ServiceCtrlImpl;
	}
	ServiceViewImpl(ServiceCtrl* src_ctrl)
	{
		srcCtrl = src_ctrl;
	}
	~ServiceViewImpl()
	{
		cout << "执行了ServiceViewImpl的析构函数..." << endl;
	}
	void menuSec(void);
	void addDept(void);
	void delDept(void);
	void listDept(void);
	void addEmp(void);
	void delEmp(void);
	void modEmp(void);
	void listEmp(void);
	void listAllEmp(void);
};
#endif//SERVICE_VIEW_IMPL_H
